using UnityEngine;

/// <summary>
/// 双发射手 植物数据
/// </summary>
[CreateAssetMenu(menuName = "创建ScriptableObject/Plants/RepeaterData")]
public class RepeaterData : ShooterData
{
    [Header("双发特性")]
    [Tooltip("每次攻击发射的子弹数量")]
    public int BulletCount = 2;
    
    [Tooltip("两颗子弹之间的间隔时间（秒）")]
    public float BulletInterval = 0.1f;

    private void OnEnable()
    {
        Type = PlantType.Repeater;
        SpawnCount = 2; // 默认双发
    }
}

